public class bullowsort {
    public void booloosort(int[] array){
        for (int i = 0; i <array.length-1 ; i++) {
            int tem = array[i];
            for (int j = 1; j < array.length-i-1; j++) {
                if(array[j]>tem){
                    array[i] = array[j];
                    array[j] = tem;
                }
            }
        }
    }
}
